package com.group.integration.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.group.integration.controller.back.vo.DiscountResultVO;
import com.group.integration.repository.entity.Coupon;

import java.util.List;

/**
 * @author xiaoma
 * @date 2024-07-04 17:00
 **/
public interface DifferentCouponService {

    List<DiscountResultVO> getDifferentCouponByType(String type) throws JsonProcessingException;

    Coupon addCoupon(Coupon coupon);

}